package com.codefish;

/**
 * 个人简历类
 *
 * @author codefish
 * @version 1.0
 * @date 2022/06/07 下午 10:59
 */
public class Resume {
    /**
     * 姓名
     */
    String name;
    /**
     * 年龄
     */
    Integer age;
    /**
     * 性别
     */
    String sex;
    /**
     * 联系电话
     */
    String telNumber;
    /**
     * 所在城市
     */
    String city;

    public Resume() {

    }
    //-----------Override methods

    @Override
    public String toString() {
        return String.format("姓名:%s,年龄:%d,性别:%s,联系电话:%s,所在城市:%s", name, age, sex, telNumber, city);
    }


    //-----------Getters and Setters

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTelNumber() {
        return telNumber;
    }

    public void setTelNumber(String telNumber) {
        this.telNumber = telNumber;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
}
